package com.ktg.mes.wm.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;


/**
 * 库存实况对象 wm_material_statistics
 *
 * @author byteco
 * @date 2022-12-13
 */

@Data
@Accessors(chain = true)
@TableName("wm_material_statistics")
public class WmMaterialStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;


    /** 物料类型ID */
    private Long itemTypeId;


    /** 产品物料ID */
    private Long itemId;


    /** 产品物料编码 */
    @Excel(name = "产品物料编码")
    private String itemCode;


    /** 产品物料名称 */
    @Excel(name = "产品物料名称")
    private String itemName;


    /** 库存分类 */
    private String itemType;


    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specification;

    /**包装规格*/
    @Excel(name = "包装规格", width = 15)
    @ApiModelProperty(value = "包装规格")
    private String packingType;


    /** 单位 */
    @Excel(name = "单位")
    private String unitOfMeasure;


    /** 粘度 */
    @Excel(name = "粘度")
    private String viscosity;


    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal quantityOnhand;


    /** 预出库数量 */
    @Excel(name = "预出库数量")
    private BigDecimal quantityWillOut;


    /** 生产数量 */
    @Excel(name = "生产数量")
    private BigDecimal quantityProduct;


    /** 需求数量 */
    @Excel(name = "需求数量")
    private BigDecimal quantityNeed;


    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;



}
